package cmd.commands;



import model.inventory.InventoryPlayer;
import util.PlayerUtilities;


public class RemoveInventoryItemCommand extends Command {

	public RemoveInventoryItemCommand(Command c) {
		super(c.command, c.parameters);
	}

	@Override
	public boolean execute() {
		InventoryPlayer.getInstance().removeAllInventory();
		InventoryPlayer.getInstance().saveToXML();
		PlayerUtilities.setUpdateStringJson("REMOVE_INVENTORY", 0);
		return true;
	}
}
